package net.sxnic.jhitem.itemssmb.action;

import java.util.*;

import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import net.sxnic.jhitem.itemssmb.ItemSsmb;

/**
 * @Description:  [一句话描述该类的功能]
 * @Author [姓名] [联系方式]
 * @CreateDate:
 * @UpdateDate:   
 * @Version 1.0
 */
 
public class Delete extends ItemSsmbAction{
	private static final long serialVersionUID = 1L;

	private static Logger logger = LoggerFactory.getLogger(Delete.class);

	private String ssmbId;
	
	public String execute() throws Exception {
		if(StringUtils.isNotBlank(ssmbId))
		  itemSsmbManager.deleteById(ssmbId);
		return SUCCESS;
	}

	public String getSsmbId() {
		return ssmbId;
	}

	public void setSsmbId(String ssmbId) {
		this.ssmbId = ssmbId;
	}

}
